package com.bigevent.service;

import com.bigevent.pojo.Article;
import com.bigevent.pojo.PageBean;

public interface ArticleService {
    //新增
    void addArticle(Article article);

    //条件分页查询
    PageBean<Article> getArticleList(Integer pageNum, Integer pageSize, Integer categoryId, String state);
    //文章详细信息
    Article articleDetail(Integer id);
    //更新
    void updateArticle(Article article);
    //删除
    void deleteArticle(Integer id);
}
